package cn.dengta.webapp.im.entity;

import java.util.Date;

import cn.dengta.webapp.base.entity.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

/**
 * 连续视频记录表
 *
 * @author lizhichao
 * @since 2024-05-30
 */
@Setter
@Getter
@TableName("im_user_active_video_log")
public class UserActiveVideoLog extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/** 用户ID */
	Long userId;
	/** 通话时长（分钟） */
	Integer duration;
	/** 日期 */
	Date date;
	/** 当前阶梯连续天数 */
	Integer continueDays;
	/** 总连续天数 */
	Integer totalDays;
	/** 当前连续阶梯 */
	Integer level;
	/** 当前奖励等级 */
	Integer milestone;
	/** 完成状态：1=完成：0=未完成 */
	Integer complete;
	/** 状态：1=当前周期，0=已过期周期 */
	Integer status;
	/** 奖励数 */
	Integer rewards;
	/** 新增时间 */
	Date addTime;
	/** 更新时间 */
	Date updateTime;

	public static final String USER_ID = "user_id";
	public static final String DURATION = "duration";
	public static final String DATE = "date";
	public static final String CONTINUE_DAYS = "continue_days";
	public static final String LEVEL = "level";
	public static final String MILESTONE = "milestone";
	public static final String STATUS = "status";
	public static final String COMPLETE = "complete";
	public static final String ADD_TIME = "add_time";
	public static final String UPDATE_TIME = "update_time";

}
